package org.example.hansp.reflection.class_.alltypeofclass;

import org.junit.jupiter.api.Test;

import java.io.Serializable;

public class AllTypeOfClass {
    @Test
    public void test() {
        //类
        Class<String> stringClass = String.class;
        Class<Class> classClass = Class.class;
        //枚举
        Class<Thread.State> stateClass = Thread.State.class;
        //数组
        Class<float[]> aClass = float[].class;
        Class<int[][]> aClass1 = int[][].class;
        //接口
        Class<Serializable> serializableClass = Serializable.class;
        //基本数据类型
        Class<Long> longClass = long.class;
        //注解
        Class<Deprecated> deprecatedClass = Deprecated.class;
        //void
        Class<Void> voidClass = void.class;
    }
}
